package cn.lngaosu.lwyd.module.integration.job;

import cn.lngaosu.lwyd.framework.quartz.core.handler.JobHandler;
import cn.lngaosu.lwyd.framework.tenant.core.job.TenantJob;
import cn.lngaosu.lwyd.module.integration.service.weixinuseranalysis.WeixinUserAnalysisService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class WeixinUserAnalysisJob implements JobHandler {

    @Resource
    private WeixinUserAnalysisService weixinUserAnalysisService;

    @Override
    @TenantJob
    public String execute(String param) {
        weixinUserAnalysisService.syncWeixinUserAnalysis();
        return "同步微信用户分析数据(每日用户增减、总用户量)";
    }

}
